package com.example.broadcastnotifytest618lw;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

class MyReceiver2 extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {

        String str=intent.getStringExtra("para1");
        Toast.makeText(context, "收到动态广播"+str, Toast.LENGTH_SHORT).show();

    }
}
